class DbFile < ActiveRecord::Base
  belongs_to :user
  validates :user_id, presence: true
  validates :title, length: { minimum: 4, maximum: 60 }
  validates :database_id, presence: true

end
